package com.alks.function.data.dto.finance.statement;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author:hxl
 * @create: 2025-01-16 14:23
 * @Description:
 */
public class DhReceiptDto {
    private String receiptNo;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date recDate;
    private String recTime;
    private String currency;
    private String cfmFlag;
    private String remark;
    private BigDecimal recAmt;
    private String orderType;
    private String custom;

    public DhReceiptDto() {
    }

    public void setReceiptNo(String receiptNo) {
        this.receiptNo = receiptNo;
    }

    public void setRecDate(Date recDate) {
        this.recDate = recDate;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public void setCfmFlag(String cfmFlag) {
        this.cfmFlag = cfmFlag;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setRecAmt(BigDecimal recAmt) {
        this.recAmt = recAmt.setScale(2, BigDecimal.ROUND_HALF_UP);
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public void setCustom(String custom) {
        this.custom = custom;
    }

    public String getReceiptNo() {
        return receiptNo;
    }

    public Date getRecDate() {
        return recDate;
    }

    public String getCurrency() {
        return currency;
    }

    public String getCfmFlag() {
        return cfmFlag;
    }

    public String getRemark() {
        return remark;
    }

    public BigDecimal getRecAmt() {
        return recAmt;
    }

    public String getOrderType() {
        return orderType;
    }

    public String getCustom() {
        return custom;
    }

    public String getRecTime() {
        return recTime;
    }

    public void setRecTime(String recTime) {
        this.recTime = recTime;
    }
}
